/*
	该程序是对typedef的试验
*/
#include <stdio.h>
#include <malloc.h>
typedef struct node{
	int data;
	struct node *left, *right;
} node, *pnode;
//typedef node * pnode; // 注意可以为形式： typedef struct XX{} XX;即XX代替struct XX
//注意此处pnode===node *
node *initial(){
	pnode root = (node*)malloc(sizeof(node));
	root -> data = 100;
	return root;
}
	
int
main(){
	node *root = initial();
	printf("%d\n",root -> data);
}
